package ai.esc.speedy.common.configuration;

import org.axonframework.springboot.util.RegisterDefaultEntities;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.Configuration;

/**
 * @author Rubin
 * @version v1 2020/3/4 2:59
 */
@RegisterDefaultEntities(packages = {
        "org.axonframework.eventhandling.tokenstore",
        "org.axonframework.eventsourcing.eventstore.jpa",
        "org.axonframework.modelling.saga.repository.jpa",
        "ai.esc.speedy.admin.user.api",
        "ai.esc.speedy.common"
})
@Configuration
public class RegisterEntitiesConfig {
}
